# kubectl create ns tekton-pipelines
# # 安装 tekton
# kubectl apply --filename https://storage.googleapis.com/tekton-releases-nightly/pipeline/latest/release.yaml

# # 安装 tekton ui

# kubectl apply --filename https://storage.googleapis.com/tekton-releases/dashboard/latest/tekton-dashboard-release.yaml
# # 安装 triggers
# kubectl apply --filename https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml
# kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/latest/interceptors.yaml

# kubectl apply -f ./cloud-devops/tekton/yaml/

kubectl apply -f https://storage.googleapis.com/tekton-releases-nightly/pipeline/latest/release.yaml
kubectl apply -f https://storage.googleapis.com/tekton-releases/dashboard/latest/release.yaml
kubectl apply -f https://storage.googleapis.com/tekton-releases-nightly/triggers/latest/release.yaml
kubectl apply -f https://storage.googleapis.com/tekton-releases-nightly/triggers/latest/interceptors.yaml

kubectl apply -f ingress-tekton.yaml
